package com.bw.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Books {
	private Integer tsbh;
	private String cbs;
	private String zz;
	private String sm;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date cbrq;
	private float jg;
	private String lx;
	public Integer getTsbh() {
		return tsbh;
	}
	public void setTsbh(Integer tsbh) {
		this.tsbh = tsbh;
	}
	public String getCbs() {
		return cbs;
	}
	public void setCbs(String cbs) {
		this.cbs = cbs;
	}
	public String getZz() {
		return zz;
	}
	public void setZz(String zz) {
		this.zz = zz;
	}
	public String getSm() {
		return sm;
	}
	public void setSm(String sm) {
		this.sm = sm;
	}
	public Date getCbrq() {
		return cbrq;
	}
	public void setCbrq(Date cbrq) {
		this.cbrq = cbrq;
	}
	public float getJg() {
		return jg;
	}
	public void setJg(float jg) {
		this.jg = jg;
	}
	public String getLx() {
		return lx;
	}
	public void setLx(String lx) {
		this.lx = lx;
	}
	public Books(Integer tsbh, String cbs, String zz, String sm, Date cbrq,
			float jg, String lx) {
		super();
		this.tsbh = tsbh;
		this.cbs = cbs;
		this.zz = zz;
		this.sm = sm;
		this.cbrq = cbrq;
		this.jg = jg;
		this.lx = lx;
	}
	public Books() {
		super();
	}
	@Override
	public String toString() {
		return "Books [tsbh=" + tsbh + ", cbs=" + cbs + ", zz=" + zz + ", sm="
				+ sm + ", cbrq=" + cbrq + ", jg=" + jg + ", lx=" + lx + "]";
	}
	
	
}
